projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f925aab
)
Fix up example in the Modifying Menus node in the lispref manual
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 20 Jan 2021 03:17:41 +0000
(
04:17
+0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 20 Jan 2021 03:17:41 +0000
(
04:17
+0100)
* doc/lispref/keymaps.texi (Modifying Menus): Make the second
example more regular (bug#14257).
doc/lispref/keymaps.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/keymaps.texi
b/doc/lispref/keymaps.texi
index 37bab7ea9bc0cec3e803b5d90ee4f62bd220ca7b..55d179b8753bb1e97e77734c17563e12c7ee9b8d 100644
(file)
--- a/
doc/lispref/keymaps.texi
+++ b/
doc/lispref/keymaps.texi
@@
-2852,9
+2852,8
@@
Here is how to insert an item called @samp{Work} in the @samp{Signals}
menu of Shell mode, after the item @code{break}:
@example
-(define-key-after
- (lookup-key shell-mode-map [menu-bar signals])
- [work] '("Work" . work-command) 'break)
+(define-key-after shell-mode-map [menu-bar signals work]
+ '("Work" . work-command) 'break)
@end example
@end defun